﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Atributes
{
    [AttributeUsage(AttributeTargets.Method)]
    class VersionAttribute:Attribute
    {
        private string versionName;
        private string comment;

        public string VersionName
        {
            get
            {
                return versionName;
            }
            set
            {
                versionName = value;
            }
        }

        public string Comment
        {
            get
            {
                return comment;
            }
            set
            {
                comment = value;
            }
        }

        public VersionAttribute(string versionName, string comment)
        {
            this.versionName = versionName;
            this.comment = comment;
        }

    }
}
